package com.boot.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Push entity. @author MyEclipse Persistence Tools
 */

public class Push implements java.io.Serializable {

	/**
	 * 某条推送广告所有需要推送的用户对应
	 */
	private static final long serialVersionUID = 1L;

	private Integer id;//ID号
	private String user_id;//发布该条推送的用户
	private String ad_id;//该条推送广告的ad_id
	private Date time;//创建时间
	private Integer accept;//是否接受0表示未接受，1表示已接受 
	private BigDecimal price;//单价
	private Date time_limit;//限时
	private String user_accept_id;//接收者的id
	private String username;//安卓或ios（deviceToken）推送用的唯一标示
	private String devicetype;//推送类型a表示andriod，i表示ios
	private Ad ad;//当前推送记录对应的推送广告
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public void setUser_accept_id(String user_accept_id) {
		this.user_accept_id = user_accept_id;
	}
	public String getAd_id() {
		return ad_id;
	}
	public void setAd_id(String ad_id) {
		this.ad_id = ad_id;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public Integer getAccept() {
		return accept;
	}
	public void setAccept(Integer accept) {
		this.accept = accept;
	}
	
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public Date getTime_limit() {
		return time_limit;
	}
	public void setTime_limit(Date time_limit) {
		this.time_limit = time_limit;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getDevicetype() {
		return devicetype;
	}
	public void setDevicetype(String devicetype) {
		this.devicetype = devicetype;
	}
	public Ad getAd() {
		return ad;
	}
	public void setAd(Ad ad) {
		this.ad = ad;
	}
	public String getUser_accept_id() {
		return user_accept_id;
	}
	
	
}